projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
389535c
)
center box: Fix size allocation
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 10 Jun 2017 11:52:01 +0000
(07:52 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 10 Jun 2017 11:53:06 +0000
(07:53 -0400)
This missing pair of parens was causing expanding children
to overlap.
gtk/gtkcenterbox.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcenterbox.c
b/gtk/gtkcenterbox.c
index 390e68319b9824b8a7fffc038864e84338d8f9b8..f91f0d97825bf86024df85a422b047a98afa128e 100644
(file)
--- a/
gtk/gtkcenterbox.c
+++ b/
gtk/gtkcenterbox.c
@@
-201,7
+201,7
@@
gtk_center_box_distribute (GtkCenterBox *self,
start_size = center_pos;
if (end_expand)
- end_size = size -
center_pos + center_size
;
+ end_size = size -
(center_pos + center_size)
;
}
else
{